package com.story.api.moduler.song.dao;

import com.story.api.common.persistence.model.VedioDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author yangbo
 * @since 2019-08-05
 */
public interface ChannelItemDao {

    /**
     * 解绑频道与音频的关系
     * @param channelIdList
     */
    void batchUnbindRelationByChannelId(@Param("channelIdList") List<Integer> channelIdList);

    /**
     * 频道下的资源列表
     * @param channelId
     * @return
     */
    List<VedioDetail> channelRadioList(@Param("channelId") Integer channelId);
}